package com.fintech.third.model.facerecog;

import java.io.Serializable;

import com.alibaba.fastjson.annotation.JSONField;

public class OcrResult implements Serializable{
	private static final long serialVersionUID = 1L;
	
	@JSONField(name="idcard_ocr_result")
	private IdcardOcrResult idcardOcrResult;
	
	
	public IdcardOcrResult getIdcardOcrResult() {
		return idcardOcrResult;
	}

	public void setIdcardOcrResult(IdcardOcrResult idcardOcrResult) {
		this.idcardOcrResult = idcardOcrResult;
	}



	public class IdcardOcrResult implements Serializable{
		private static final long serialVersionUID = 1L;
		@JSONField(name="address")
		private String address;
		@JSONField(name="citizen_id")
		private String citizenId;
		@JSONField(name="gender")
		private String gender;
		@JSONField(name="nation")
		private String nation;
		@JSONField(name="idcard_type")
		private String idcardType;
		@JSONField(name="birthday")
		private String birthday;
		@JSONField(name="name")
		private String name;
		
		@JSONField(name="agency")
		private String agency;
		@JSONField(name="valid_date_begin")
		private String validDateBegin;
		@JSONField(name="valid_date_end")
		private String validDateEnd;
		
		public String getAddress() {
			return address;
		}
		public void setAddress(String address) {
			this.address = address;
		}
		public String getCitizenId() {
			return citizenId;
		}
		public void setCitizenId(String citizenId) {
			this.citizenId = citizenId;
		}
		public String getGender() {
			return gender;
		}
		public void setGender(String gender) {
			this.gender = gender;
		}
		public String getNation() {
			return nation;
		}
		public void setNation(String nation) {
			this.nation = nation;
		}
		public String getIdcardType() {
			return idcardType;
		}
		public void setIdcardType(String idcardType) {
			this.idcardType = idcardType;
		}
		public String getBirthday() {
			return birthday;
		}
		public void setBirthday(String birthday) {
			this.birthday = birthday;
		}
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getAgency() {
			return agency;
		}
		public void setAgency(String agency) {
			this.agency = agency;
		}
		public String getValidDateBegin() {
			return validDateBegin;
		}
		public void setValidDateBegin(String validDateBegin) {
			this.validDateBegin = validDateBegin;
		}
		public String getValidDateEnd() {
			return validDateEnd;
		}
		public void setValidDateEnd(String validDateEnd) {
			this.validDateEnd = validDateEnd;
		}
		
	}
	
	@JSONField(name="message")
	private String message;
	@JSONField(name="rtn")
	private String rtn;


	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getRtn() {
		return rtn;
	}

	public void setRtn(String rtn) {
		this.rtn = rtn;
	}
	
}
